package dao;

import entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {

    public Integer insertIntoBook(@Param("books") List<Book> books);

//    分页查询
    public List<Book> selectBook(Integer index,Integer pageSize);
//查所有
    public List<Book> selectAll();

}
